package com.ruoyi.docdraw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 组织供应商对象 sys_supplier
 * 
 * @author lvtian
 * @date 2025-04-02
 */
public class SysSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long supplierId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long parentDeptId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String supplierOr;

    /** 供应商名唯一 */
    @Excel(name = "供应商名唯一")
    private String supplierName;

    /** 供应商显示名 */
    @Excel(name = "供应商简称")
    private String supplierAbbreviation;

    /** 供应商类型 */
    @Excel(name = "供应商类型")
    private String supplierType;

    /** 供应商状态 */
    @Excel(name = "供应商状态")
    private String supplierLifeStatus;

    /** 供应商联系人名称 */
    @Excel(name = "供应商社会信用码")
    private String supplierSocialCreditCode;

    /** 备注 */
    @Excel(name = "备注")
    private String supplierRemarks;
    @Excel(name = "供应商邮政编码")
    private String supplierMail;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setParentDeptId(Long parentDeptId)
    {
        this.parentDeptId = parentDeptId;
    }

    public Long getParentDeptId()
    {
        return parentDeptId;
    }
    public void setSupplierOr(String supplierOr) 
    {
        this.supplierOr = supplierOr;
    }

    public String getSupplierOr() 
    {
        return supplierOr;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    public String getSupplierAbbreviation() {
        return supplierAbbreviation;
    }

    public void setSupplierAbbreviation(String supplierAbbreviation) {
        this.supplierAbbreviation = supplierAbbreviation;
    }

    public String getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(String supplierType) {
        this.supplierType = supplierType;
    }

    public String getSupplierLifeStatus() {
        return supplierLifeStatus;
    }

    public void setSupplierLifeStatus(String supplierLifeStatus) {
        this.supplierLifeStatus = supplierLifeStatus;
    }

    public String getSupplierSocialCreditCode() {
        return supplierSocialCreditCode;
    }

    public void setSupplierSocialCreditCode(String supplierSocialCreditCode) {
        this.supplierSocialCreditCode = supplierSocialCreditCode;
    }

    public String getSupplierRemarks() {
        return supplierRemarks;
    }

    public void setSupplierRemarks(String supplierRemarks) {
        this.supplierRemarks = supplierRemarks;
    }

    public String getSupplierMail() {
        return supplierMail;
    }

    public void setSupplierMail(String supplierMail) {
        this.supplierMail = supplierMail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("ParentDeptId", getParentDeptId())
            .append("supplierOr", getSupplierOr())
            .append("supplierName", getSupplierName())
            .append("supplierAbbreviation", getSupplierAbbreviation())
            .append("supplierType", getSupplierType())
            .append("supplierLifeStatus", getSupplierLifeStatus())
            .append("supplierSocialCreditCode", getSupplierSocialCreditCode())
            .append("supplierRemarks", getSupplierRemarks())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
